package com.ruoyi.video.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备对象 v_device
 *
 * @Author: orange
 * @CreateTime: 2025-01-16
 */
public class Device extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long deviceId;
    @Excel(name = "IP地址")
    private String ip;
    @Excel(
            name = "设备类型(1=haikan,2=dahua)"
    )
    private String type;
    @Excel(
            name = "区分流"
    )
    private String mediaKey;
    @Excel(
            name = "设备账号"
    )
    private String userName;
    @Excel(
            name = "设备密码"
    )
    private String password;
    @Excel(
            name = "播放地址"
    )
    private String url;
    @Excel(
            name = "启用flv(0=true,1=false)"
    )
    private String enabledFlv;
    @Excel(
            name = "启用hls(0=true,1=false)"
    )
    private String enabledHls;
    @Excel(
            name = "javacv/ffmpeg(默认不开启)"
    )
    private String mode;

    public Device() {
    }

    public String toString() {
        return "Device{deviceId=" + this.deviceId + ", ip='" + this.ip + "', type='" + this.type + "', mediaKey='" + this.mediaKey + "', userName='" + this.userName + "', password='" + this.password + "', url='" + this.url + "', enabledFlv='" + this.enabledFlv + "', enabledHls='" + this.enabledHls + "', mode='" + this.mode + "'}";
    }

    public Long getDeviceId() {
        return this.deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public String getIp() {
        return this.ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMediaKey() {
        return this.mediaKey;
    }

    public void setMediaKey(String mediaKey) {
        this.mediaKey = mediaKey;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUrl() {
        return this.url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getEnabledFlv() {
        return this.enabledFlv;
    }

    public void setEnabledFlv(String enabledFlv) {
        this.enabledFlv = enabledFlv;
    }

    public String getEnabledHls() {
        return this.enabledHls;
    }

    public void setEnabledHls(String enabledHls) {
        this.enabledHls = enabledHls;
    }

    public String getMode() {
        return this.mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }
}

